﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System;
using System.IO;

namespace LP_Csharp
{
    public partial class acerca : UserControl
    {
        public acerca(Control parent)
        {
            InitializeComponent();
            this.Parent = parent;
            this.Dock = DockStyle.Fill;
            this.Show();
        }

        private void acerca_Load(object sender, EventArgs e)
        {
            // Abre o ficheiro txt
            TextReader tr = new StreamReader("..\\..\\acerca.txt");
            this.label1.Text = tr.ReadToEnd();
            tr.Close();
        }
    }
}
